package com.han.dao;

import com.han.model.GoodsEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created on 2019/3/28.
 * @author han
 *
 */
@Mapper
public interface GoodsDao {


    List<Map> getAllGood();

    Map getGoodById(Integer goods_id);

    Integer deleteGoodById(Integer goods_id);

    Integer insertGoods(GoodsEntity goodsEntity);
}
